package kit.docker.redis;

public class RedisConstant {

    public static final String SYS_APP_SECRET = "sys_app_secret:";
    public static final String USER_LOGIN_ERROR = "user_login_error:";
    public static final String USER_LOGIN_CAPTCHA = "user_login_captcha:";
    public static final String USER_LOGIN_CAPTCHA_TIMEOUT = "user.login.captch.timeout";
    public static final String USER_LOGIN_ERROR_MAXNUM = "user.login.error.max.num";
    public static final String USER_LOGIN_ERROR_STOPTIME = "user.login.error.stop.time";
    public static final String USER_SESSION_TOKEN = "user_session_token:";
    public static final String USER_SESSION_APP = "user_session_app:";
    public static final String SYS_DIC = "sys_dic:";

    public static final String USER_LOGIN_SMSCODE = "user_login_smscode:";

    /**
     * 数据源个数
     */
    static String redis_count = "redis.count";

    /**
     * 数据源名称
     */
    static String redis_name = "name";

    /**
     * 数据源主机
     */
    static String redis_host = "host";

    /**
     * 数据源端口
     */
    static String redis_port = "port";

    /**
     * 数据源密码
     */
    static String redis_password = "password";

    static String redis_timeout = "timeout";

    /**
     * 数据库连接池参数：初始化连接大小
     */
    static String redis_initial_size = "initial.size";

    /**
     * 数据库连接池参数：最少连接数
     */
    static String redis_min_idle = "min.idle";

    /**
     * 数据库连接池参数：最多连接数
     */
    static String redis_max_active = "max.active";

}
